package com.eastfair.home.api;

import com.eastfair.core.base.R;
import com.eastfair.home.vo.ReportDrawingAuditHistoryVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 报馆图纸审核历史 feign.
 *
 * @author dqq
 * @date 2022 /8/22
 */
@FeignClient("home/reportDrawingAuditHistory")
public interface ReportDrawingAuditHistoryFeign {

    /**
     * 图纸分类审核历史ID查询图纸审核历史列表.
     *
     * @param reportDrawingCategoryAuditHistoryId the report drawing category audit history id
     * @return the r
     */
    @GetMapping("/reportDrawingCategoryAuditHistory/{reportDrawingCategoryAuditHistoryId}")
    R<List<ReportDrawingAuditHistoryVO>> queryByReportDrawingCategoryAuditHistoryId(@PathVariable("reportDrawingCategoryAuditHistoryId")
                                                                                    Long reportDrawingCategoryAuditHistoryId);
}